/****************************************
*  Submitted by:                        * 
*                                       *              
*   Michael Fildstein, ID: 309161594    * 
*   Tomer Ben Rachel, ID: 021982475     *            
*                                       *          
*                                       *         
*****************************************/    



//This program draws a Von Koch Snowflake using the recursive function we created earlier, drawCurve.
//This time though, we apply the recursive function 3 times. Each time for each side of the equilateral triangle.

import java.awt.Color;


public class KochSnowflake {
	
	
	public static void main(String args[]) {
        Painter.draw("KochSnowflake");
    }
	
	public static void draw() { 
		Painter.setColor(Color.blue);
		KochCurve.drawCurve(100, 100, 400, 100, 4);           //Calling the recursive function for each side
		KochCurve.drawCurve(400, 100, 250, 400, 4);
		KochCurve.drawCurve(250, 400, 100, 100, 4);
		
		
	}

}
